package com.jiuyi.service;

import com.jiuyi.common.R;
import com.jiuyi.dto.UserPhoneCodeDto;
import com.jiuyi.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * DATA: 2022/10/22
 * Author: 晨夕
 */
public interface UserService {
    //获取短信
    R sendMsg(UserPhoneCodeDto userPhoneCodeDto,HttpServletRequest request);
    //登录
    R login(UserPhoneCodeDto userPhoneCodeDto, HttpServletRequest request);
    //退出登录
    R logout(HttpServletRequest request);
}
